package com.bianmaba.ehcache;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @program: samples
 * @description:
 * @author: Chenjiabin
 * @create: 2019/9/9 15:48
 **/
@SpringBootApplication
//目前没发现这个注解有啥用，不注解也可以正常使用系统缓存及hibernate二级缓存，感觉没有开启功能而只是配置功能
@EnableCaching()
public class EhcacheApplication {
    public static void main(String[] args) {
        SpringApplication.run(EhcacheApplication.class, args);
    }

}